<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="utf-8">
	<title>管理后台</title>
	<link rel="stylesheet" href="__PUBLIC__/css/bootstrap-3.3.5/css/bootstrap.min.css" />
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/style.css">
	<script src="__PUBLIC__/js/jquery-1.11.3.min.js"></script>
	<script src="__PUBLIC__/css/bootstrap-3.3.5/js/bootstrap.min.js"></script>
	<script src="__PUBLIC__/js/laydate/laydate.js"></script>
    <script src="__PUBLIC__/js/layer/layer.js"></script>
    <script src="__PUBLIC__/js/common.js"></script>
	<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
	<!--[if lt IE 9]>
	    <script src="__PUBLIC__/js/html5shiv.js"></script>
	<![endif]-->
	<script src="__PUBLIC__/js/admin.js"></script>
	<!-- <script>
	
	var role = "<{$role_right}>";
	</script> -->
</head>
<body>

<!-- 顶部导航条 -->
<nav class="navbar topbar br0" role="navigation">
	<div class="container">

		<div class="navbar-header">
			<a class="navbar-brand" href="<{:U('Admin/Index/index')}>">
		        管理后台
		    </a>
		</div>

		<!--顶部导航-->
		<div class="topmenu fl">
			<ul class="nav navbar-nav menu">
				<li class="divide">|</li>
				<foreach name="topmenu" item="vo" key="key">
					<li <if condition="$key eq 4">class="hide"</if>><a href="<{$vo['url']}>" <if condition="$key eq I('get.k')">class="on"</if>><{$vo['title']}></a></li>
				</foreach>
			</ul>
		</div>
		<!--顶部导航//-->

		<div class="collapse navbar-collapse">
			<ul class="nav navbar-nav navbar-right">
				
				<li class="dropdown">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
						<if condition="session('nickname') neq ''">
							<{$Think.session.nickname}>
						<else />
							<{$Think.session.username}>
						</if> <b class="caret"></b>
					</a>
					<ul class="dropdown-menu">
						<li>
							<a href="<{:U('Admin/Admin/changePass',array('k'=>5,'sk'=>11))}>">修改密码</a>
						</li>
						<li>
							<a href="<{:U('Admin/Admin/changeInfo',array('k'=>5,'sk'=>11))}>">修改资料</a>
						</li>
						<li class="divider"></li>
						<if condition="session('role') eq 1">
							<li>
								<a href="javascript:void(0);">
								<span class="glyphicon glyphicon-cog"></span>
								系统设置
								</a>
							</li>
						</if>
						<li>
							<a href="<{:U('Admin/Logout/logout')}>"><span class="glyphicon glyphicon-off"></span>
							退出登录
							</a>
						</li>
						
					</ul>
				</li>
			</ul>
		</div>

	</div>
</nav>
<!-- 顶部导航条// -->
